package lipengfei.botaiframework.utils.http;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;

import cn.hutool.json.JSONUtil;


public class ResponseUtil {


    public static void out(HttpServletResponse response, String resultStr) {

        try {
            response.setCharacterEncoding("UTF-8");
            response.setContentType("application/json;charset=UTF-8");
            response.getOutputStream().write(resultStr.getBytes());
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    
    
}